home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c++-part2 / 10057 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  1.2 KB

  1. Path: cliffy.lfwc.lockheed.com!news
  2. From: Ken Garlington <GarlingtonKE@lfwc.lockheed.com>
  3. Newsgroups: comp.lang.ada,comp.lang.c,comp.lang.c++
  4. Subject: Re: C/C++ knocks the crap out of Ada
  5. Date: Tue, 05 Mar 1996 17:06:37 +0000
  6. Organization: Lockheed Martin Tactical Aircraft Systems
  7. Message-ID: <313C749D.2C34@lfwc.lockheed.com>
  8. References: <JSA.96Feb16135027@organon.com> <1996Feb22.005518.13396@leeweyr.sccsi.com> <4gvrffINNlqo@anvil.ugrad.cs.ubc.ca> <SPENCER.96Feb29102241@zorgon.ERA.COM> <4h5bptINN9oi@anvil.ugrad.cs.ubc.ca> <4hakfl$ogd@fred.netinfo.com.au>
  9. NNTP-Posting-Host: ub_998356_mtm7.lfwc.lockheed.com
  10. Mime-Version: 1.0
  11. Content-Type: text/plain; charset=us-ascii
  12. Content-Transfer-Encoding: 7bit
  13. X-Mailer: Mozilla 2.0 (Macintosh; I; 68K)
  14.  
  15. Alan Brain wrote:
  16. > Agree. But if a Cosmic Ray comes and Zapps a bit, this could happen. Or if a
  17. > memory chip wasn't quite up to par. Ada 83 will catch it at the next
  18. > type-check, raise an exception, and trigger whatever error-correction has been
  19. > designed into the program. Yes, if that's insufficient, you have problems.
  20.  
  21. Actually, most Ada compilers optimize type checks assuming the hardware is working,
  22. so this check isn't quite as strong as you imply. However, it does provide some
  23. coverage.
  24.